package com.zhiyou100.pra2;

/**
 * 宠物类子类  猫类
 */
public class Cat extends Pet {
    @Override
    public void eat() {
        System.out.println("猫喜欢吃鱼.....");
    }

    @Override
    public void play() {
        System.out.println("猫咪喜欢玩线球.....");
    }
}
